package team.yidong.fenda.wx.Service;

import net.sf.json.JSONArray;
import org.springframework.data.jpa.repository.JpaRepository;
import team.yidong.fenda.entity.User;

import java.util.List;

/**
 * Created by xuanlong on 2017/10/20.
 */
public interface WxUserService {
    public User findByid(Integer UserId);

    JSONArray findByHospitalId(Integer hospitalId);

    User findByOpenId(String openId);

    void addUser(User user);
    String checkUserIsBlack(String openId);
}
